Skip to content

public Vote::getAllCandidates ​

Read it at the source

Description ​

php
public Vote->getAllCandidates ( [?CondorcetPHP\Condorcet\Election $context = null] ): array

Get all the candidates object set in the last ranking of this Vote.

Parameter ​

context: ?CondorcetPHP\Condorcet\Election ​

An election already linked to the Vote.

Return value ​

(array) Candidates list.


Released under the MIT License.